@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './content.scss';
@import './popover-ui.scss';
@import './tabs-ui.scss';
@import './table-ui.scss';
@import './form-ui.scss';
@import './dialog-ui.scss';
@import './components.scss';
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

ul, li {
  list-style: none;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  // height: 100%;
}

article, aside, blockquote, body, button, dd, details, div, dl, dt, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, input, legend, li, menu, nav, ol, p, section, td, textarea, th, ul {
  margin: 0;
  padding: 0;
}

* {
  -webkit-box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","\5FAE\8F6F\96C5\9ED1",Arial,sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #495060;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
  color: #409EFF;
}

.inlineBlock {
  display: block;
}
[v-cloak]{
  display: none !important;
}
.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

code {
  background: #eef1f6;
  padding: 15px 16px;
  margin-bottom: 20px;
  display: block;
  line-height: 36px;
  font-size: 15px;
  font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  a {
    color: #337ab7;
    cursor: pointer;
    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

.warn-content {
  background: rgba(66, 185, 131, 0.1);
  border-radius: 2px;
  padding: 16px;
  padding: 1rem;
  line-height: 1.6rem;
  word-spacing: 0.05rem;
  a {
    color: #42b983;
    font-weight: 600;
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 20px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center;
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(
    90deg,
    rgba(32, 182, 249, 1) 0%,
    rgba(32, 182, 249, 1) 0%,
    rgba(33, 120, 241, 1) 100%,
    rgba(33, 120, 241, 1) 100%
  );
  .subtitle {
    font-size: 20px;
    color: #fff;
  }
  &.draft {
    background: #d0d0d0;
  }
  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;
  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}
.pad-no-t {
  padding-top: 0 !important;
}
.pad-no-b {
  padding-bottom: 0 !important;
}
.pad-no-r {
  padding-right: 0 !important;
}
.pad-no-l {
  padding-left: 0 !important;
}
.pad-no {
  padding: 0 !important;
}
.mar-no-r {
  margin-right: 0 !important;
}
.mar-no-l {
  margin-left: 0 !important;
}
.mar-no-t {
  margin-top: 0 !important;
}
.mar-no-b {
  margin-bottom: 0 !important;
}
.mar-b-20{
  margin-bottom: 20px !important;
}
.mar-no {
  margin: 0 !important;
}
.inline-block {
  display: inline-block !important;
}
.text-left {
  text-align: left !important;
}
.text-center {
  text-align: center !important;
}
.cover-view {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: #f4f4f4;
}

.pos-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

.pos-row-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

.pos-col-center {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.img-center {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.flex-row {
  display: -webkit-box; /* 老版本语法: Safari, iOS, Android browser, older WebKit browsers.  */
  display: -moz-box; /* 老版本语法: Firefox (buggy)  */
  display: -ms-flexbox; /* 混合版本语法: IE 10    */
  display: -webkit-flex; /* 新版本语法: Chrome 21+ */
  display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */
  -webkit-box-orient: horizontal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
}
.flex-warp {
  flex-wrap: wrap;
}
.flex-row-reverse {
  flex-direction: row-reverse;
}
.inline {
  display: inline-block;
}
.flex-col {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
.flex-col-reverse {
  flex-direction:column-reverse;
}
.flex-align-s {
  align-items: flex-start;
}

.flex-align-c {
  align-items: center;
}

.flex-align-e {
  align-items: flex-end;
}

.flex-justify-s {
  justify-content: flex-start;
}

.flex-justify-c {
  justify-content: center;
}

.flex-justify-e {
  justify-content: flex-end;
}

.flex-justify-b {
  justify-content: space-between;
}
.flex-auto{
  flex:1;
}
.flex-grow-1{
  flex-grow: 1
}
.flex-justify-a {
  justify-content: space-around;
}
.no-nowrap{
  white-space: nowrap;
}
.scale-grow {
  width: 0;
  flex-grow: 1;
}

.font-storng-6 {
  font-weight: 600;
}

.ivu-menu {
  display: block;
  margin: 0;
  padding: 0;
  outline: 0;
  list-style: none;
  color: #495060;
  font-size: 14px;
  position: relative;
  z-index: 900;
}

.ivu-menu-horizontal {
  height: 60px;
  line-height: 60px;
}

.ivu-menu-light {
  background: #fff;
}

.ivu-btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.5;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 6px 15px;
  font-size: 12px;
  border-radius: 4px;
  transition: color .2s linear,background-color .2s linear,border .2s linear,box-shadow .2s linear;
  color: #495060;
  background-color: #f7f7f7;
  border-color: #dddee1;
}

.main-nav {
  padding: 20px;
  &.gray{
    background: #e8edf0;
  }
  &.sky-blue{
    background: rgb(240,250,251);
  }
}

.radio-list{
  padding: 30px 0;
  i.tip{
    display: inline-block;
    list-style: none;
    font-style: normal;
    padding: 5px;
    margin-left: 4px;
    font-size: 12px;
    border-radius: 3px;
    color: #fff;
    background: rgb(78,203,155)
  }
}

.pricenum {
  color: rgb(246, 121, 121);
}

.orders-blue {
  color: rgb(64, 158, 255)!important;
}
.alink-blue{
  margin-left: 6px;
  color: rgb(64, 158, 255)!important;
}
.orders-green {
  color: rgb(104, 211, 135);
}

.orders-orange {
  color: rgb(230, 162, 60);
}

.orders-red {
  color: rgb(245, 108, 108);
}
.orders-gray{
  color: #999;
}
.big-warning {
  background: rgb(255, 245, 230);
  border: 1px solid rgb(255, 235, 204);
  color: rgb(153, 153, 153);
  padding: 14px 20px;
  margin: 20px 0;
  font-size: 14px;
}
.font-14{
  font-size: 14px;
}
.font-12{
  font-size: 12px;
}
.el-input-number .el-input__inner{
  text-align: left!important;
}
.ellipsis_single {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ellips_line2 {
  -webkit-line-clamp: 2;
}

.ellips_line3 {
  -webkit-line-clamp: 3;
}

.ellips_line4 {
  -webkit-line-clamp: 4;
}

.ellips_line2,
.ellips_line3,
.ellips_line4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.logo {
  height: 38px;
  width: 38px;
  border-radius: 38px;
  vertical-align: middle;
  &+.inner-text{
      vertical-align: middle;
      display: inline-block;
      margin-left: 10px;
      .inner-title{
          display: block;
      }
  }
}
.flex-row{
  .inner-text{
    width: 0;
    flex-grow: 1;
  }
}